import React from 'react';
import ReactDOM from 'react-dom';
import reportWebVitals from './reportWebVitals';

import App from "./App"
import 'antd/dist/antd.css'; 
// import style from "./index.css"
import "./index.css"; //  这两种方式 都是一样的 和上面 这一种

import store from "./models";
import { Provider } from "react-redux" // 跨组件通信的包

ReactDOM.render(
  <React.StrictMode>
    <Provider store={store} >
      <App />
    </Provider>

  </React.StrictMode>,
  document.getElementById('root')
);

// If you want to start measuring performance in your app, pass a function
// to log results (for example: reportWebVitals(console.log))
// or send to an analytics endpoint. Learn more: https://bit.ly/CRA-vitals
reportWebVitals();
